package com.xishu.task;

import java.util.HashMap;

public class GlobalSave {
    private static GlobalSave instance = new GlobalSave();
    private HashMap<String, Boolean> vipUserMap;
    private HashMap<String, Boolean> vipTicketLevelMap;
    private HashMap<String, Boolean> sendHistoryMap;

    private GlobalSave() {
        vipUserMap = new HashMap<>();
        vipTicketLevelMap = new HashMap<>();
        sendHistoryMap = new HashMap<>();
    }

    public static GlobalSave getInstance() {
        return instance;
    }

    public HashMap<String, Boolean> getVipUserMap() {
        return vipUserMap;
    }

    public void setVipUserMap(HashMap<String, Boolean> vipUserMap) {
        this.vipUserMap = vipUserMap;
    }

    public HashMap<String, Boolean> getVipTicketLevelMap() {
        return vipTicketLevelMap;
    }

    public void setVipTicketLevelMap(HashMap<String, Boolean> vipTicketLevelMap) {
        this.vipTicketLevelMap = vipTicketLevelMap;
    }

    public HashMap<String, Boolean> getSendHistoryMap() {
        return sendHistoryMap;
    }

    public void setSendHistoryMap(HashMap<String, Boolean> sendHistoryMap) {
        this.sendHistoryMap = sendHistoryMap;
    }
}
